import request from '@/utils/request'
export function shoppingList(data) {
  return request({
    url: '/api/buy_order/index',
    method: 'post',
    data
  })
}
export function addShopping(data) {
  return request({
    url: '/api/buy_order/create',
    method: 'post',
    data
  })
}
export function deletes(data) {
  return request({
    url: '/api/buy_order/destroy',
    method: 'post',
    data
  })
}
export function particulars(data) {
  return request({
    url: '/api/buy_order/show',
    method: 'post',
    data
  })
}
export function upData(data) {
  return request({
    url: '/api/buy_order/update',
    method: 'post',
    data
  })
}
export function submit(data) {
  return request({
    url: '/api/buy_order/submit',
    method: 'post',
    data
  })
}

export function confirm(data) {
  return request({
    url: '/api/buy_order/confirm',
    method: 'post',
    data
  })
}
export function send(data) {
  return request({
    url: '/api/buy_order/send',
    method: 'post',
    data
  })
}
export function complete(data) {
  return request({
    url: '/api/buy_order/complete',
    method: 'post',
    data
  })
}
